package com.mi.state2;

public class Test {

	public static void main(String[] args) {
		
		Person person = new Person();
		person.setState(new YouthState());
		person.perform();
		person.perform();
		person.perform();
		person.perform();
	}
}
